Arrays in One Shot | C Programming | Lecture 7

Поделиться
HTML-код
  • Опубликовано: 29 янв 2025

Комментарии • 1,7 тыс.

  • @CollegeWallahbyPW
    @CollegeWallahbyPW  2 года назад +154

    📗 Enroll Now in Decode Batches and become JOB READY:
    📌 Python with DSA: bit.ly/4bXv5xF
    📌 Java with DSA: bit.ly/49vEQkZ
    📌 C++ with DSA: bit.ly/49NnNKT

  • @binarydecode
    @binarydecode Год назад +84

    Hands down, One of the best lectures on C, keep it up
    Maza aa gya

  • @GrooveMusicc
    @GrooveMusicc Год назад +243

    TIME STAMPS:
    00:00 Introduction
    03:34 What is an Array?
    08:40 Syntax and Declaration
    13:10 Indexing in Arrays
    16:08 Accessing Array elements
    24:07 Output and Input using LOOPS
    38:49 Prob 1 : Given array of marks, print marks less than 35
    45:00 Prob 2 : Find the correct declarations
    48:47 Prob 3 : Indexing based question
    49:39 Memory allocation in Arrays
    1:00:48 Prob 4 : Predict the output - 1
    1:03:10 Prob 5 : Predict the output - 2
    1:07:37 Garbage Values
    1:09:04 Prob 6 : Find the error - 1
    1:12:13 Prob 7 : Find the error - 2
    1:13:17 Prob 8 : Print the sum of elements in given array
    1:18:14 HW 1 : Print the product of elements in given array
    1:19:11 Prob 9 : Print the maximum element in given array
    1:31:26 HW 2 : Print the minimum element in given array
    1:31:36 Prob 10 : MCQ - 1
    1:33:01 Prob 11 : MCQ - 2
    1:34:56 Prob 12 : MCQ - 3
    1:35:14 Passing ARRAYS to FUNCTIONS
    1:44:36 Prob 13 : State True or False
    1:45:47 Prob 14 : Multiply odd indexed elements by 2 and add 10 to the even elements
    1:52:38 HW 3 : Print elements greater than x
    1:53:59 Prob 15 : Print difference b/w odd indexed and even indexed elements
    1:58:12 Prob 16 : Find total number of pairs whose sum add up to x
    2:07:07 Prob 17 : Find total number of triplets whose sum add up to x
    2:12:50 Prob 18 : Find the second largest element in Array
    2:19:28 **Prob 19 : Find second largest element in single pass of array
    2:42:15 Prob 20 : WAP to copy elements of array to another array in reverse order
    2:46:06 *Prob 21 : Reverse the Array without using extra array
    2:53:35 HW 4 : Check if given Array is Palindrome or not
    2:54:52 **Prob 22 : Rotate the given Array by ‘k’ steps
    3:18:55 Prob 23 : Check if the given element in present in Array or not
    3:35:42 HW 5 : Find the missing element in given range
    3:39:40 Prob 24 : Find the duplicate element in given array
    3:44:15 Prob 25 : Find unique number, where all other elements are duplicate
    3:59:30 Comment kardo na fir ki - Maza aa gaya

  • @ankanmaity1973
    @ankanmaity1973 Год назад +129

    mind blowing...... so detailed lectures, anyone who wants to start his programming journey can definitely start with this c programing lectures...

    • @MADHUKUMAR-rx2oq
      @MADHUKUMAR-rx2oq Год назад +2

      bhai notes bana hai tu pin kar do comment me

    • @teamsynum9986
      @teamsynum9986 6 месяцев назад

      BRUH DOES HE COVERED DSA IN THIS SERIES

    • @KattarHinduShivendra
      @KattarHinduShivendra Месяц назад

      @@teamsynum9986 NO THERE IS SEPERATE SERIES FOR IT!

  • @vkcreative7073
    @vkcreative7073 Месяц назад +7

    Ma dawa kr sakta hu ki iss channel se acchi c programming koi or channel nhi padha rah what a explanation 🔥

  • @Rahul_Raj__
    @Rahul_Raj__ Год назад +189

    1:06:53 Sir, yahan par i ki value starting wali nahi hogi i.e. 1 ..... balki loop 0 se 48 baar chalega aur finally i = 49 par loop exit ho jyega toh lastly i me 49 value assign ho jyegi.... So output par 49 print hoga ❤❤❤

    • @Dimdum842
      @Dimdum842 Год назад +5

      yes :)

    • @shaharyarsajawal5619
      @shaharyarsajawal5619 Год назад +5

      YES!

    • @akashchakraborty2144
      @akashchakraborty2144 Год назад +6

      yessss

    • @Utkarsh-772
      @Utkarsh-772 Год назад +3

      Bilkul 👍

    • @SachinDiwakar-d9z
      @SachinDiwakar-d9z Год назад +5

      you are right but can you explain me more. loop 48 times tak kyu chakega jab for loop ke age semicolun hai to use pahaki baar me hi tarminate ho jana chahiye na or last me i ki value 49 kase hui.

  • @softmedun6794
    @softmedun6794 Год назад +32

    Sir aap hi C++ ka complete course ka playlist banaye n aap bahut achhe padhate hai please sir please 😢😢😢😢

  • @L-b3u
    @L-b3u 9 месяцев назад +12

    1:28:39 return fn
    1:35:10 passing array to function
    2:12:55 second largest
    2:46:03 pointers

  • @softmedun6794
    @softmedun6794 Год назад +11

    Sir aap Jaise teacher pura RUclips per kahin nahin
    Bahut achha padhate h aap easy language me❤

  • @shubhamgolvelker6150
    @shubhamgolvelker6150 Год назад +22

    01:07:36 The o/p will be 49 and not 0 because we have declared variable i in main, not in loop

    • @gangapurampraneethreddy1356
      @gangapurampraneethreddy1356 8 месяцев назад

      ya

    • @aryangupta6660
      @aryangupta6660 6 месяцев назад +1

      Yah bro

    • @soumyajain8994
      @soumyajain8994 5 месяцев назад +3

      bro if we declare i in loop then it will give error because i is not define for main function

    • @NashwaMS
      @NashwaMS 4 месяца назад

      @@soumyajain8994 that's exactly what he said

  • @khushdilansari4506
    @khushdilansari4506 Год назад +23

    1:07:35 Output 49

  • @nayan_CSE
    @nayan_CSE Год назад +27

    49:50 actually memory allocation depends on the architecture of your system.. if you have a 32 bit system then the size will be 2 bytes(integer) and 4 bytes 64 bit system...

    • @flaminate3700
      @flaminate3700 Год назад +2

      It depends on the compiler

    • @jitendratolani5908
      @jitendratolani5908 Год назад

      At 3:23:17 why sir had not written &x, &i
      Pl explain.

    • @wizard09
      @wizard09 Год назад

      ​@@jitendratolani5908because he is printing

    • @jdhruv
      @jdhruv 2 месяца назад

      @@flaminate3700The @flaminate3700 compiler is installed separately for 32-bit and 64-bit systems.

  • @arinlamba4427
    @arinlamba4427 10 месяцев назад +6

    3:44:26 Sir last question mai agar unique element last index pr hoga to ye code nhi chlega sir to agr please kisi ko pta hai ki kya changes krne hai code mai to please reply kr do bhai

  • @MudassirHasan-it2yw
    @MudassirHasan-it2yw 2 года назад +16

    Thank u sir , very helpful for 1st year students !!

  • @mahekjoshi9959
    @mahekjoshi9959 10 месяцев назад +2

    I can solve stuffs on my own ! I m proud of this achievement Thanks CW

  • @akshaykanawade302
    @akshaykanawade302 2 года назад +23

    I understand coding because of You✨️❤️ thank You sir

  • @ananyieie
    @ananyieie Год назад +16

    Thankyou so much for the amazing lecture sir !! I am so grateful to you !! You teach soooo good 😀😀

  • @ohkay5735
    @ohkay5735 Год назад +4

    1:00:03
    Passing elements to arrays
    1:33:03

  • @Anurag-fk3op
    @Anurag-fk3op Год назад +15

    Last bale question me agar multiple unique element hoga to break statement nhi lagayenge but uske karan Loop aage chalega aur repeated elements ko bhi unique bata dega kyuki aage repeatation hoga hi nhi.

    • @alifaisal77616
      @alifaisal77616 11 месяцев назад +3

      You are right brother
      He wrote the last code wrong

    • @Anurag-fk3op
      @Anurag-fk3op 11 месяцев назад

      Bro he literally built up my basic concepts when i started coding.
      i used to struggle in pattern printing he made me comfortable in it🙌🤩@@alifaisal77616

    • @pushkarshaw233
      @pushkarshaw233 9 месяцев назад +2

      Yes last code is wrong

  • @AbuHuzaifa_1244
    @AbuHuzaifa_1244 13 дней назад

    Sir you are the best teacher. I'll recommend this playlist to everyone who wants to learn C in depth.

  • @ankushjha785
    @ankushjha785 6 месяцев назад +15

    1:30:42 ---- mistake --------> int data type ka range -2^31 se (2^31 - 1) hota.

    • @harshdevjha2359
      @harshdevjha2359 2 месяца назад

      Yes bro u are right .....coz 32nd vali bit already 1 ya 0 se occupied rehti h .... for negative numbers its 1 and for positive number its already occupied with 0....

  • @shivamkumarshivam5977
    @shivamkumarshivam5977 10 месяцев назад +1

    Bilkul makhan tha sir lecture ka swaad aa gaya....TNKS

  • @ysc_chandan
    @ysc_chandan 8 месяцев назад +6

    1:07:23 sir yha pe 49 print hoga kyunki loop 0-48 yani 49 baar chalega or at the end 49 pe jake ruk jayega aur 49 value hi assign ho jayega

  • @RajeevKumarNishad-o6m
    @RajeevKumarNishad-o6m 6 месяцев назад +1

    Sir Maza aa gya, mai first time programming kr rha hu to thodi dikkat aayi but aapke saath bana rha to sab samjh aa gya, THANK YOU FOR SUCK QUALITY QUESTIONS..

  • @rikmishra6743
    @rikmishra6743 Год назад +9

    Very nice sir , most detailed lecture I have ever seen.

  • @strangeboy0012
    @strangeboy0012 Год назад +2

    sir 1:07:25 me Question ka answer 49 aa rha hai ;
    ;
    aur lecture me mje aye app ko dhanyavad 🤩💫🙏🙏🙏;

  • @amberhasan-z7z
    @amberhasan-z7z Год назад +3

    tower of hanoi me maza aagyaaa...
    literally BAAP of all lectures on recursion.....

  • @lovelife4118
    @lovelife4118 10 месяцев назад +2

    Hands down, One of the best lectures on C, keep it up
    Maza aa gya ❤ 😊

  • @pandey3277
    @pandey3277 Год назад +9

    i have watched so many c language videos in the internet this is the best and easiest video better than my coaching classes thank you sir ji.

  • @abz-d8m
    @abz-d8m Месяц назад

    difficulty starts from here....
    but sir explained very very well.....mazaa aa gya
    thankyou sir

  • @Rahul_Raj__
    @Rahul_Raj__ Год назад +12

    3:48:41 No sir, yaha par thora sa misconception ho gya hai ...... Agar aap wo break keyword waha use karoge toh condition true hone par nearest loop yani sirf inner for loop se exit hoga naaki dono for loop se ..... 🙂

    • @rohandsouza3941
      @rohandsouza3941 6 месяцев назад +1

      correct i was searching for this comment only lol!!!

  • @adityasharma-vk8fg
    @adityasharma-vk8fg Год назад +3

    thankusoo much sir....!!! i think that's the best video i found on internet..!!! You are a very good teacher sir 😊

  • @soumya1082
    @soumya1082 Год назад +6

    sir please make a video upon DATA STRUCTURE IN C.... it will be very helpful to us...

  • @01aaditreeshreya82
    @01aaditreeshreya82 6 дней назад

    1:19:34 question
    1:40:58 array to functions
    1:49:14 see this again prob 14
    2:00:46 prob 16
    2:16:00 prob 18 and 19..see this Qs. again
    2:52:30 prob 21 ...i
    3:04:10 prob 22 ...reverse array

  • @meetsvnitcse1191
    @meetsvnitcse1191 Год назад +6

    at 02:50:00 can't we use directly
    printf("%d",arr[6-i]);
    in for loop, we can easily get it.

    • @PATTI_2.0
      @PATTI_2.0 Год назад +1

      Int size = ar.size(); is showing error how you have printed that?

    • @meetsvnitcse1191
      @meetsvnitcse1191 Год назад +1

      @@PATTI_2.0 your code is of python i think.
      Will give error for c

  • @torishi82
    @torishi82 11 месяцев назад +2

    Thank you for the best explanations. Amazing. As a token of my appreciation, I watch full adds (don't skip) and click on links in ads.

  • @basicomathematics
    @basicomathematics Год назад +16

    at 1:07 the output is provided by you is 0 to the code but it will be 49
    int sub[50],i;
    for(i=0;i

    • @cpranikerkumar9742
      @cpranikerkumar9742 Год назад

      you are right

    • @mayankkumar4110
      @mayankkumar4110 Год назад +2

      worng there is semicolon so the valu of i =0; if there is no semicolon the i =0 to 48 only

    • @susmitaghosh6539
      @susmitaghosh6539 8 месяцев назад

      Correct... due to loop i will be incremented and terminate at i=49. SO answer will be 49 here

    • @basicomathematics
      @basicomathematics 8 месяцев назад

      @@susmitaghosh6539 I was just a noob at that time but actually in c language when the terminator comes after the loop condition the loop breaks and the compiler continues to compile a new line.

    • @SritamDash-ej5ts
      @SritamDash-ej5ts 3 месяца назад

      ​@@mayankkumar4110Right 👍🏻

  • @eraniket
    @eraniket 2 года назад +7

    Achha hai Class but Bilkul basic hai Thoda Advance Questions prectice karaiye... Like Frequency of Each Element And So.. Extra...

  • @signalinternet5934
    @signalinternet5934 10 месяцев назад +1

    bhai sahab I COMPLETED 7 LECTURES, HANDS DOWN THE ONLY BEST LECTURES I HAVE EVER FOUND ON INTERNET

  • @vaishnavidwivedi6399
    @vaishnavidwivedi6399 Месяц назад +13

    who is watching this video a day before the c-programming exam in december 2024😅

  • @Megafacts6351
    @Megafacts6351 26 дней назад +1

    i learnt so many things in this session!!

  • @KishanKumarXIID
    @KishanKumarXIID Месяц назад +1

    the last code was really amazing . i felt happy idk why 😊

  • @NirajKumarPandey1234
    @NirajKumarPandey1234 Год назад +4

    [7].I have seen this lecture today.lecture is very interesting.
    21st August 2023

  • @KishanSingh-vi5tp
    @KishanSingh-vi5tp 2 месяца назад +2

    1:07:23 Here 49 will be the output instead of 0
    Here's why 49 is printed instead of 0:
    Empty Loop Execution: With the semicolon (;) right after for(i=0; i

    • @ImHarsh971
      @ImHarsh971 2 месяца назад

      Yes, you are right. output is 49 instead of 0

    • @ImHarsh971
      @ImHarsh971 2 месяца назад

      Yes, you are right. output is 49 instead of 0

  • @kunalkumar1964
    @kunalkumar1964 2 года назад +16

    Most awaited lecture 💫

  • @bhavi6115
    @bhavi6115 5 месяцев назад +1

    Superb lecture sir 💯❤️❤️👏👏🎉🎉Maza aa gaya 🤩🤩🤩 Thank you so much sir 🙏🙏🙏😊❤️❤️

  • @arindamdeka8095
    @arindamdeka8095 Год назад +5

    Thank you so much Sir for this amazing lecture on Arrays. Mazza Aa gya 🔥

  • @shivam-editz1_
    @shivam-editz1_ 5 месяцев назад +1

    Thank you sir wondfull lecture woth lots of problem solving🎉❤

  • @ayush8265
    @ayush8265 Год назад +6

    sir last vala question ka code har bar kam nhi karega kyunki agar hum asa example le {1,3,2,1,4,2,3} to kam nhi kar rha apka code . BTW accha padhaya sir apne maja a gya . Thankyou sir

  • @abhisheksrivastava4236
    @abhisheksrivastava4236 7 месяцев назад +2

    Sir HW question at 1:07:13 dummy for loop -> value of i will be 49 -> answer will be 49.

  • @shantanu_2006
    @shantanu_2006 Год назад +3

    1:13:14 pe line 6 mein scanf ke baad &arr[i] aana chahiye thaa. That is the 2nd error

  • @parthg9828
    @parthg9828 Год назад +1

    1:03:44 there is a mistake even if there is a ; at the end of the for loop the loop will run just the thing is that the loop will not have any body so because the loop will run completely so it it will make the change the value of i from 0 to 48 and at the end of loop the value of will be 49 to break the loop so the final value that will be the output is 49 not 0

  • @rajveerrajpurohit5583
    @rajveerrajpurohit5583 5 месяцев назад +4

    3:53:41 why can't we use Continue Statement? Can Anyone Please Explain?

    • @GOPALJHA-d2x
      @GOPALJHA-d2x 3 месяца назад

      countinue statement is to skip that part and run the loop but we have to stop once we find the value.

  • @vanshhans21
    @vanshhans21 9 месяцев назад +2

    2:05:15 pe ek galti h j ki value i+1 nhi ayegi agar i+1 rakho ge to jaise ki example 2 ka pair chaiye to vo 1,1 nhi dega j ki value bhi 0 se start hogi shi answer kr lie

  • @victory-path101
    @victory-path101 Год назад +4

    Great teacher i truly liked your teaching style

  • @prathmeshsingh9699
    @prathmeshsingh9699 3 месяца назад +1

    Wonderful explanation sir

  • @SanketMotewar-nx9zo
    @SanketMotewar-nx9zo Год назад +3

    1:07:28 the output will be 49 instead of 0 as the loop will work and go to 48 then 48++ which is 49 but 49>48
    Therefore out of the for loop then value of i =49
    Therefore ans is 49 ❤

    • @vaishnavinalabolu9603
      @vaishnavinalabolu9603 Год назад

      48 ko declare tho nahi Kiya naa

    • @SanketMotewar-nx9zo
      @SanketMotewar-nx9zo Год назад

      @@vaishnavinalabolu9603 there is nothing in for loop but still loop will execute till end.
      If there is anything in loop then this will execute but it this case there is nothing to execute in loop

    • @vaishnavinalabolu9603
      @vaishnavinalabolu9603 Год назад

      @@SanketMotewar-nx9zo if the condition is true it will go to inner statement but in this case semicolon is there after condition so it will not go further that's why ans is zero.

    • @SanketMotewar-nx9zo
      @SanketMotewar-nx9zo Год назад

      @@vaishnavinalabolu9603 if we use semicolon just after loop then it will not consider line under it
      It is same like
      For(____ _____ _____)
      ;
      If we write statement in it
      For(____ _____ _____)
      Printf();
      Firstly loop will initialise with first value and then it will check condition if true then execute below statements but in this there is not any statements so nothing will execute it again goes in loop then ++ then again check and so on .........
      So ...........(refer first comment)

    • @vaishnavinalabolu9603
      @vaishnavinalabolu9603 Год назад

      @@SanketMotewar-nx9zo thank you 😊

  • @rajveerrajpurohit5583
    @rajveerrajpurohit5583 5 месяцев назад +2

    At 3:55:56 I am feeling that there is a flaw in this algorithm as If The Digit '1' at Index no 4 was at Index no 3 and The Digit '4' was at Index no 4 . In short both the numbers were just swapped , at that point there will arise an error as when Value of 'i' will become 3 the variable we are using to check for the duplicates i.e. 'j' will never be able to tell that there is a duplicate of digit '1' is present at index no '0' because it is always starting from j=i+1.
    Please Clear this Doubt of Mine If anyone Can?

    • @DeepBora-p7u
      @DeepBora-p7u 4 месяца назад +1

      Yes bro I had the same doubt
      we can take j starting from 0
      And then use if statement i!=j
      For condition
      if arr(i)==arr (j)
      Flag=true;

  • @aliyaafreen6234
    @aliyaafreen6234 Год назад +4

    Thank you sir for such a great lecture this is very helpful for us maza aa gyaa sir 🙌🙌

    • @Kidsmaru
      @Kidsmaru Год назад

      Hey where are you from

  • @RaghavKansal-g2v
    @RaghavKansal-g2v 6 месяцев назад

    TIME STAMPS
    00:00 Introduction
    03:34 What is an Array?
    08:40 Syntax and Declaration
    13:10 Indexing in Arrays
    16:08 Accessing Array elements
    24:07 Output and Input using LOOPS
    38:49 Prob 1 : Given array of marks, print marks less than 35
    45:00 Prob 2 : Find the correct declarations
    48:47 Prob 3 : Indexing based question
    49:39 Memory allocation in Arrays
    1:00:48 Prob 4 : Predict the output - 1
    1:03:10 Prob 5 : Predict the output - 2
    1:07:37 Garbage Values
    1:09:04 Prob 6 : Find the error - 1
    1:12:13 Prob 7 : Find the error - 2
    1:13:17 Prob 8 : Print the sum of elements in given array
    1:18:14 HW 1 : Print the product of elements in given array
    1:19:11 Prob 9 : Print the maximum element in given array
    1:31:26 HW 2 : Print the minimum element in given array
    1:31:36 Prob 10 : MCQ - 1
    1:33:01 Prob 11 : MCQ - 2
    1:34:56 Prob 12 : MCQ - 3
    1:35:14 Passing ARRAYS to FUNCTIONS
    1:44:36 Prob 13 : State True or False
    1:45:47 Prob 14 : Multiply odd indexed elements by 2 and add 10 to the even elements
    1:52:38 HW 3 : Print elements greater than x
    1:53:59 Prob 15 : Print difference b/w odd indexed and even indexed elements
    1:58:12 Prob 16 : Find total number of pairs whose sum add up to x
    2:07:07 Prob 17 : Find total number of triplets whose sum add up to x
    2:12:50 Prob 18 : Find the second largest element in Array
    2:19:28 **Prob 19 : Find second largest element in single pass of array
    2:42:15 Prob 20 : WAP to copy elements of array to another array in reverse order
    2:46:06 *Prob 21 : Reverse the Array without using extra array
    2:53:35 HW 4 : Check if given Array is Palindrome or not
    2:54:52 **Prob 22 : Rotate the given Array by ‘k’ steps
    3:18:55 Prob 23 : Check if the given element in present in Array or not
    3:35:42 HW 5 : Find the missing element in given range
    3:39:40 Prob 24 : Find the duplicate element in given array
    3:44:15 Prob 25 : Find unique number, where all other elements are duplicate
    3:59:30 Comment kardo na fir ki - Maza aa gaya

  • @notvivekkushwaha
    @notvivekkushwaha 9 месяцев назад +7

    2:48:00 Instead of using function and pointers
    We can simply program it like this :-
    for( int i=0; i

    • @onlyone7209
      @onlyone7209 5 месяцев назад

      You're dum this is not for only printing reverse this is for making array reverse

    • @Shivam09-z2q
      @Shivam09-z2q 2 месяца назад

      Maine bhi aise par sahi hai

    • @AnshKushwaha-ix5td
      @AnshKushwaha-ix5td 2 месяца назад

      For(int i=6;i>=0;i--);
      Printf("%d",arr[i]);
      This is also coorect

    • @notvivekkushwaha
      @notvivekkushwaha 2 месяца назад +1

      @AnshKushwaha-ix5td yes correct

    • @Jeeffv
      @Jeeffv Месяц назад

      You are wrong here because you are printing the element of the array in reverse but you are not actually reversing the array itself.

  • @AyushPandey-i8j
    @AyushPandey-i8j Месяц назад +1

    [2].I have seen this lecture today.I have completely understood all the concepts you explained in class. Your teaching method was very simple and effective, which made me understand everything easily. I am very grateful to you for your guidance and hard work. Your student, [Ayush ]...🫡❤️😊
    12TH DECEMBER 2024...

  • @anshulsharma267
    @anshulsharma267 2 года назад +9

    Raghav Bhaiya or PW team ka dil se Shukriya...❣️

    • @teamsynum9986
      @teamsynum9986 6 месяцев назад

      BRUH DOES HE COVERED DSA IN THIS SERIES

  • @Mr.Qurious21
    @Mr.Qurious21 Месяц назад

    Salute to the best programming teacher on youtube ❤ maza agua sir

  • @Shubham12-45
    @Shubham12-45 Год назад +8

    sir last question is only applicable for array which u have chose
    for array{1,1,2,4,2,3,3,} this code is not applicable......

    • @harshadeepdas7830
      @harshadeepdas7830 10 месяцев назад

      Yeah I noticed that too. In that case, it works if we run the second loop from j=0 (instead of j= i+1) and the " if " condition inside the second loop is put inside the loop if (i != j) {}. Now the code works for any type of array even if the elements are repeated consecutively.

    • @jee...2023
      @jee...2023 7 месяцев назад

      +1​@@harshadeepdas7830

    • @xorxist
      @xorxist 3 месяца назад +1

      ​@@harshadeepdas7830 thanks a lot🔥

  • @aadityavijay3837
    @aadityavijay3837 3 месяца назад +2

    Sir in question no. 24 find the duplicate element in array wala sir in this question if the elements of the given array is of type {1,2,4,1,3,1,5,6} then sir according to your solution the compiler prints the same think 2 time.

  • @VinaySharma-ui8ee
    @VinaySharma-ui8ee 2 года назад +15

    1:03:10 Prob 5 : Predict the output - 2 ----> output for this question will be 49

    • @codexintern-p9c
      @codexintern-p9c 2 года назад +2

      yes the output will be 49

    • @sadhvivenkatk6499
      @sadhvivenkatk6499 2 года назад +3

      Same yar
      1:12:08 sir ne kha out put will be 1
      1
      2
      2
      3
      3
      .
      .
      But it is showing nothing in cmd

    • @aditisamargade1307
      @aditisamargade1307 Год назад

      @@codexintern-p9c but Sir is correct , the output should be 0

    • @niyatiraj1883
      @niyatiraj1883 Год назад +1

      ​@@aditisamargade1307 how??
      Can you explain ??

    • @aditisamargade1307
      @aditisamargade1307 Год назад +1

      ​@@niyatiraj1883 Sir has explained it very well the only problem is compilers are correcting it by removing the semicolon automatically. Otherwise, if you dry run the code u will get output as 1.​

  • @daredeviledit5917
    @daredeviledit5917 5 месяцев назад +2

    Sir aap na nam ke aage since lagao , kyu aap brand ho sir ji aur padhate best ho , thank you sir ji.

  • @Op_gamer744
    @Op_gamer744 Месяц назад +7

    sir notes open nahi ho rahe he ?

  • @botgaming9123
    @botgaming9123 Год назад +1

    2:25:53 can we do this to reverse without an extra array--
    int arr[5]={1,2,3,4,5};
    for(int i=4;i>=0;i--){
    printf("%d ",arr[i]);
    }
    ???

  • @GATEWith_HARIS
    @GATEWith_HARIS Год назад +46

    I m so confused why c lang is taught very clearly and with in depth knowledge only in GATE videos why not in placement type videos and I really appreciate the knowledge I get from GATE prep because they teach everything that little in depth concepts help a lot when we sit for coding. By the way you teach great 👏👏🔥

    • @priyanshuranjan1986
      @priyanshuranjan1986 Год назад +3

      Because wo gate ke purpose ke liye bana hai

    • @GATEWith_HARIS
      @GATEWith_HARIS Год назад +4

      @@priyanshuranjan1986 yes but jo bhi ho GATE ke concepts bahut zyada help krte hai coding ke time pe

    • @jitendratolani5908
      @jitendratolani5908 Год назад +1

      At 3:23:17 why sir had not written &x, &i
      Pl explain.

    • @nityanandmishra9616
      @nityanandmishra9616 Год назад +1

      @@jitendratolani5908 it will be only written if you take input like as scanf or you are print address....

  • @SaiRamEkkaladevi
    @SaiRamEkkaladevi 5 месяцев назад +1

    Keep it up Sir 💯❤😊.

  • @BURNINGSTUDIO
    @BURNINGSTUDIO 2 месяца назад +19

    notesss ???????//

    • @bb-ko9re
      @bb-ko9re 27 дней назад +1

      Mila kya??

    • @BURNINGSTUDIO
      @BURNINGSTUDIO 24 дня назад +1

      ​@@bb-ko9rebhai is lecture ke nhi h

  • @_kaushal__01
    @_kaushal__01 17 дней назад

    Amazing sir ..Thank You very much 🥰🙏

  • @Ganesh.programmer
    @Ganesh.programmer Год назад +5

    You are great sir❤
    Unbelievable teaching 👍
    Thank you sir 🙏

  • @victorb22622
    @victorb22622 8 месяцев назад +1

    2:02:00 actually जिस इंडेक्स पर की वैल्यू में कितना कम पड़ता है 12 होने के लिए वो ही loop चलाना था और जो डिफरेंस आए वो array मे है की नही वो ही ढूंढना था

  • @Usernamepreeti
    @Usernamepreeti Год назад +5

    Your efforts raghav sir...🙏🙏🙏

  • @CARSVERSE_V8
    @CARSVERSE_V8 27 дней назад

    Well explained sir 👏👏👏👏

  • @anuragkushwaha1707
    @anuragkushwaha1707 2 года назад +9

    Please upload notes of this class.

  • @naziatabassum1314
    @naziatabassum1314 7 месяцев назад

    amazing lecture...bahuth hi maza aagaya

  • @apnashivamsingh
    @apnashivamsingh 2 года назад +130

    Sir pls provides notes

  • @alexjaiswal1
    @alexjaiswal1 8 месяцев назад

    Great sir completed samjh aa gya 😊

  • @amitgond07
    @amitgond07 Год назад +6

    Sir please provide notes for this lecture ❤❤.

  • @Hruthika-m3x
    @Hruthika-m3x 6 месяцев назад

    Maza aagaya bhaiya 🎉
    Thank you so much 💐

  • @VanshSinghal_7088
    @VanshSinghal_7088 3 месяца назад +3

    MAZA AAGYA
    AGR ARRAY INPUT KRKE KRVATE TABH TO ORGASM HI AAJATA

  • @DarlSmasher
    @DarlSmasher 2 месяца назад

    Maazaaa aaagaiyaaa🎉🎉🎉🎉🎉🎉🎉

  • @sundramkumar4871
    @sundramkumar4871 Год назад +8

    Sir please provide this class notes 🙏

  • @pawar_rajesh_10
    @pawar_rajesh_10 9 месяцев назад +1

    2:50:20 sir say rat ke 1baj gye h 🤗☺
    dedication of sir

  • @Vijay-em4sz
    @Vijay-em4sz Год назад +4

    3:59:02 mazaa agaya sir

  • @MYSTERY7895RVK
    @MYSTERY7895RVK Год назад +1

    M 7 lecture complete dekh chuka huu
    Bhutt ache se smj aa rha h
    Tower of hanoi ka printing code smj ni aaya bs
    Baki aap bhutt Acha pdha rhe h mjaa aa rha hai abhi tak

  • @mq4950
    @mq4950 2 года назад +8

    1:07 output is 49

  • @GoldenTiger-dv2lk
    @GoldenTiger-dv2lk 4 месяца назад +1

    1:07:31 - Sir the output is 49. The program after running gave the output 49!!!

  • @rubelhossainsayed
    @rubelhossainsayed Год назад +455

    Who are facing trouble for getting notes?

  • @tushardhiman2458
    @tushardhiman2458 3 месяца назад

    Keep it up mzza aa gya 👍👍👍👍

  • @RiseWithAttitude
    @RiseWithAttitude Год назад +5

    plz provide notes of this lecture

  • @monishmansuri2088
    @monishmansuri2088 4 месяца назад

    Sir aap both acccha padate ho 💯💯👍👍👍👍👍👍👍👍👍👍👍

  • @paryulchaudhari4078
    @paryulchaudhari4078 Год назад +6

    from where can I get notes of this lecture?

  • @victorb22622
    @victorb22622 8 месяцев назад +1

    50:48 its 1020 and like that। 1:13:16 scanf("%d",&arr[I]) & is missing

  • @Saurav87099
    @Saurav87099 Год назад +3

    1:37:07

  • @cppaliwal405
    @cppaliwal405 7 месяцев назад

    I got Very good understanding just by following you thank you air❤❤